package com.card.manager.services;

import java.util.List;
import java.util.Map;

import com.card.framework.mybatis.optimist.ModifiedByAnotherUserException;
import com.card.framework.page.model.PageModel;
import com.card.manager.domain.Aaa;
import com.card.manager.domain.Aba;
import com.card.manager.domain.Abb;
import com.card.manager.domain.CardOpDay;
import com.card.manager.domain.CardOpMonth;
import com.card.manager.domain.CardOpYear;
import com.card.manager.domain.Mab;
import com.card.manager.domain.Maf;

public interface AbaService {
	public List<Aba> selectAbaForPage(Long userid);
	public void deleteAbas(List<Aba> aaa) throws ModifiedByAnotherUserException,Exception;
	public void addOrUpdate(Aba aaa,Abb abb);
	public Aba geyAbaById(String abaid);
	public Map<String, Object> queryCardInfo(Aaa aaa, Aba aba);
	public void changeCard(Aba oldAba, Aba newAba,Mab mab);
	void CardOper(Aba aba, Maf maf);
	public Map<String, Object> queryChangeCardForPage(Mab mab,PageModel pageModel);
	public Map<String, Object> queryCardOpYearForPage(CardOpYear tempParam,
			PageModel pageModel);
	public Map<String, Object> queryCardOpMonthForPage(CardOpMonth tempParam,
			PageModel pageModel);
	public Map<String, Object> queryCardOpDayForPage(CardOpDay tempParam,
			PageModel pageModel);
	public void cardProcUser(Map temp);
}
